SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 44892: A "previously failed to connect" java.lang.RuntimeException error occurs when you log on to SAS® Model Manager

DetailsAboutRate It

When logging on to SAS Model Manager, you might receive the following error:

java.lang.RuntimeException: com.sas.apps.session.ApplicationNotInitializedException: 
java.lang.RuntimeException: com.sas.services.ServiceException: 
Previously failed to connect to http://your_server_name_here:port/SASContentServer/repository/default
/ModelManager for sastrust@saspw 
    com.sas.analytics.modelmanager.client.APServerDelegate.connectToServer(APServerDelegate.java:166)
    com.sas.analytics.app.mds.api.RepositoryImpl.(RepositoryImpl.java:144)
    com.sas.analytics.app.mds.MDSApp.startApplication(MDSApp.java:120)
    com.sas.analytics.app.mds.MDSApp.(MDSApp.java:74)
    com.sas.analytics.app.mds.MDSApp.main(MDSApp.java:66)

image label

You receive this error when SAS Analytics Platform is started before your Web application server is fully started. Before starting the SAS Analytics Platform server, check your Web application server log to verify that the server is fully started. (On Windows, the Services window might show that the Status is "Started". However, this Status value is not a true indicator of whether the server is started. You need to check the log.)

An example using JBoss

Verify that JBoss started before you start the SAS Analytics Platform Server service. For this example, the server.log file is located in "C:\JBoss\<jboss-version number>\server\SASServer1\log".

If JBoss started, then the log shows something like this:

2011-05-14 15:23:02,817 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.0.GA (build: 
SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 15m:31s:878ms


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Model ManagerMicrosoft® Windows® for x642.23.19.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition2.23.19.3 TS1M0
Microsoft Windows Server 2003 Standard Edition2.23.19.3 TS1M0
Microsoft Windows Server 2003 for x642.23.19.3 TS1M0
Microsoft Windows Server 20082.23.19.3 TS1M0
Microsoft Windows Server 2008 for x642.23.19.3 TS1M0
Microsoft Windows XP Professional2.23.19.3 TS1M0
Windows 7 Enterprise 32 bit2.23.19.3 TS1M0
Windows 7 Enterprise x642.23.19.3 TS1M0
Windows 7 Professional 32 bit2.23.19.3 TS1M0
Windows 7 Professional x642.23.19.3 TS1M0
Windows 7 Ultimate 32 bit2.23.19.3 TS1M0
Windows 7 Ultimate x642.23.19.3 TS1M0
Windows Vista2.23.19.3 TS1M0
Windows Vista for x642.23.19.3 TS1M0
64-bit Enabled AIX2.23.19.3 TS1M0
64-bit Enabled Solaris2.23.19.3 TS1M0
HP-UX IPF2.23.19.3 TS1M0
Linux for x642.23.19.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.